package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 微信转账到用户零钱对象 biz_wx_pay_user
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-10-28
 */
@Data
public class WxPayUser extends BaseEntity<WxPayUser> {
    private static final long serialVersionUID = 1L;

    /**
     * 批次用户openId集合
     */
    @Excel(name = "批次用户openId集合")
    private String userInfoId;

    /**
     * 批次名称
     */
    @Excel(name = "批次名称")
    private String batchName;

    /**
     * 批次备注
     */
    private String batchRemark;

    /**
     * 总金额
     */
    private BigDecimal totalAmount;

    /**
     * 总笔数
     */
    private Integer totalNum;

    /**
     * 状态
     */
    private String payStatus;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态（0正常 1 停用）
     */
    private String status;


    public void setUserInfoId(String userInfoId) {
        this.userInfoId = userInfoId;
    }

    public String getUserInfoId() {
        return userInfoId;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }

    public String getBatchName() {
        return batchName;
    }

    public void setBatchRemark(String batchRemark) {
        this.batchRemark = batchRemark;
    }

    public String getBatchRemark() {
        return batchRemark;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userId", getUserId()).append("deptId"
                , getDeptId()).append("userName", getUserName()).append("deptName", getDeptName()).append("companyId"
                , getCompanyId()).append("userInfoId", getUserInfoId()).append("batchName", getBatchName()).append(
                        "batchRemark", getBatchRemark()).append("totalAmount", getTotalAmount()).append("totalNum",
                getTotalNum()).append("payStatus", getPayStatus()).append("sort", getSort()).append("status",
                getStatus()).append("remark", getRemark()).append("id", getId()).append("createBy", getCreateBy()).append("createDept", getCreateDept()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("updateIp", getUpdateIp()).append("version", getVersion()).append("delFlag", getDelFlag()).toString();
    }
}
